package com.hgnu.dorm.service;


import com.hgnu.dorm.domain.dto.UserPageQueryDto;
import com.hgnu.dorm.domain.po.PageBean;
import com.hgnu.dorm.domain.po.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService {

    User login(User user);

    void register(User user);

    PageBean page(UserPageQueryDto dto);

    User getById(Integer id);

    int delete(Long[] ids);

    void insertUser(User user);

    void updateUser(User user);

    void updateStatus(Integer id);


}
